package com.zhouyu.service;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

//@Component("userService")
public class ZhouyuFactoryBean implements FactoryBean {

	@Override
	public Object getObject() throws Exception {
		UserService userService = new UserService();

		return userService;
	}

	@Override
	public Class<?> getObjectType() {
		return UserService.class;
	}
}
